/**
 * @filename:Fasongyoujian Jan 16, 2024
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(发送邮件实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_fasongyoujian")
@ApiModel(value="sys_fasongyoujian对象", description="发送邮件表")
public class Fasongyoujian extends Model<Fasongyoujian> {

	private static final long serialVersionUID = 1705400557847766L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "序号")
    private Long id;
    
    @TableField(value = "recipient") 	
	@ApiModelProperty(name = "recipient" , value = "收件人")
    private String recipient;
    
    @TableField(value = "recipientEmail") 	
	@ApiModelProperty(name = "recipientEmail" , value = "收件人邮箱")
    private String recipientEmail;
    
    @TableField(value = "promoterMail") 	
	@ApiModelProperty(name = "promoterMail" , value = "发件人邮箱")
    private String promoterMail;
    
    @TableField(value = "mailServer") 	
	@ApiModelProperty(name = "mailServer" , value = "邮箱服务器")
    private String mailServer;
    
    @TableField(value = "authorizationCode") 	
	@ApiModelProperty(name = "authorizationCode" , value = "授权码")
    private String authorizationCode;
    
    @TableField(value = "title") 	
	@ApiModelProperty(name = "title" , value = "邮箱标题")
    private String title;
    
    @TableField(value = "content") 	
	@ApiModelProperty(name = "content" , value = "邮件内容")
    private String content;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
